<?php
class view_inicio
{
	public $text = 'listo';
public function ver(){
?>

<html>
<head>
	<script src="views/js/jquery-1.9.1.min.js"></script>
	<script src="views/js/main.js"></script>
</head>

	<body onLoad="startTime()">
     
		<div style="position:absolute; top:0px; left:0px; height:100px; width:100%;text-align:center; background-color:#0C0">
		  <label style="font-size:50px;">bienvenido</label>
            <input type="button" value="acceder" id="bacceder" style="position:absolute; left:69%; top: 11px;" onClick="B_login(this)" >
            <div id="div_login" style="position:absolute; left:75%; top:0px; width: 340px; height: 100%; background-color:#009900; text-align:left; display:none">
            <form method="post" action="?action=login" name="flogin" id="flogin">
            <br>
         	    <label style="font-size:20px"> usuario:</label>
                <input type="text" id="tuser" name="tuser" onFocus="focus_text(this)" style="position:absolute; left: 70px; top: 22px;"><br>
              <label style="font-size:20px"> clave:</label>
               <input type="password" id="tpass" name="tpass" onFocus="focus_text(this)" style="position:absolute; top: 47px; left: 70px;">
               <input type= "text" id="act" name = "act" value="usuario" style="display:none">
               <input type="button" value="ok" id="bok" name="bok" style="position:absolute; left: 237px; top: 11px; width: 70px;" onClick="validar_text(tuser,tpass,act,flogin)">
               <input type="button" value="cancelar" id="bcancel" name="bcancel" style="position:absolute; left: 237px; top: 41px; width: 70px;" onClick="B_login(this)">
               </form>
            </div>
	</div>
			<div style="position:absolute; left: 75%; top: 100px; height:85.7%; width:25%;background-color:#00CC00; text-align:center">

     			<h2><label id="Ldate"></label> /
     			<label id = "Lyear"></label></h2>
				<h1><label id="Lhora"></label></h1>
               </div>
               
               <div style="position:absolute; background-color:#009900; left: 0px; top: 100px; width: 75%; height:85.7%;">
              	  <div style="position:absolute; left:48%; top:25%; text-align:center; height: 133px;">
                 <form action="?action=entry" method="post" id="Fempleado" name="Fempleado">
               		<h3><label style="left:50%">Id de empleado</label></h3>
                         <input type="text" id="tusuario" name="tusuario" onFocus="focus_text(this)" >
                         
                        	<input type="text" id="ac" style="display:none" name="ac" value="empleado">
                      <input type="button" id="bok" name="bok" value="enviar" style="position:absolute; left: 44px; top: 98px; width: 70px; height: 28px;" onClick="validar_text(tusuario,tclave,ac,Fempleado)">
                      </form>
              	    </div>
                   <div style="position:absolute; left: 10px; top: 90%; width: 216px; background-color:#CCC;">
                   <input type="text" readonly value="<?=$this->text; ?>" style="background-color:#CCC; border:hidden" id="output" name="output">
                   </div>
               </div>
</body>
</html>
<?php 
}
}
?>